package zdream.pmfield.stage.message;

import java.util.Objects;

import zdream.pmfield.stage.object.FoeActor;

/**
 * @author Zdream
 * @date 2023-11-13
 * @since 0.0.1
 */
public class TurnStartMessage extends StageMessage {
	public final FoeActor foe;

	public TurnStartMessage(FoeActor foe) {
		this.type = StageMessageType.TURN;
		this.foe = Objects.requireNonNull(foe);
	}

	@Override
	public String toString() {
		return String.format("[TS] 轮到 %s 的回合: %s", foe.foe.getName(), foe);
	}
}
